package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.core.domain.MissionGroupInfo;
import com.task.core.dto.request.MissionGroupRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/10/30 15:40
 */
public interface MissionGroupService {

  List<MissionGroupInfo> getMissionGroupByPage(MissionGroupRequestDTO request);

  MissionGroupInfo getMissionGroupByCodeOrName(String code, String name);

  List<KeyAndValue> getMissionGroupForOption(MissionGroupRequestDTO request);

  void addMissionGroup(MissionGroupRequestDTO request);

  void modifyMissionGroup(MissionGroupRequestDTO request);

  void deleteMissionGroup(String missionGroupCode, Long userId);

  MissionGroupInfo getMissionGroupByCode(String missionGroupCode);
}
